apiVersion: v1
kind: RoleBinding
metadata:
  namespace: "{{app}}"
  name: appowners
roleRef:
  name: appowner
{% if env == "staging" %}
  # See note in role-appowners.yml
  namespace: "{{app}}"
{% endif %}
userNames:
{% for owner in appowners %}
- {{ owner }}
{% endfor %}
